package com.weibo.basic.alg.alert.server.domain;

import lombok.Data;

@Data
public class WechatTextMessage {

    private final String msgtype = "text";
    private String touser;
    private String toparty;
    private String totag;
    private Integer agentid;
    //max-length 2048
    private Text text;
    private Integer safe = 0;

    @Data
    public static class Text {

        private String content;

        public Text(String content) {
            this.content = content;
        }
    }
}
